package com.lagou.edu.service;

import com.lagou.edu.pojo.AuthCode;
import com.lagou.edu.pojo.Token;

/**
 * @author lyj
 * @Title: ValicateService
 * @ProjectName homework-parent
 * @Description: TODO
 * @date 2021/1/2 23:35
 */

public interface ValicateService {
    boolean saveAuthCode(AuthCode authCode);
    boolean saveToken(Token token);
    AuthCode getAuthCodeByEmail(String email);
    Token getTokenByEmail(String email);
}
